<template>
  <div>
    <h2 v-for="item in $route.query" v-bind:key="item">{{item}}</h2>
  </div>
</template>

<script>
export default {
  name: "profile",
  created() {
    console.log("profilecreated");
  },
  destroyed() {
    console.log("profiledestroyed");
  }
}
</script>

<style scoped>

</style>